package xyz.xtgl.oahth2.config.properties;

import lombok.Data;

/**
 * @author liubo
 * @created 2019-12-20 16:12
 */
@Data
public class JwtProperties {

    /**
     * JWT 签名密钥
     */
    private String signingKey;

    /**
     * 令牌有效期(默认有效期30)
     */
    private Integer accessTokenValiditySeconds=2592000;

    /**
     * 刷新令牌的有效期(默认45天)
     */
    private Integer refreshTokenValiditySeconds=3888000;

}
